package RadianceM.DistributionSystem.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@ToString
@Schema(
        name = "Job",
        title = "职位表",
        description = ""
)
@TableName(value = "users_job")
public class Job {

    @Schema(title = "职位id", description = "")
    @TableId(value = "job_id")
    private Long id;

    @Schema(title = "职员id", description = "")
    @TableField(value = "officer_id")
    private Long officerId;

    @Schema(title = "职位", description = "")
    @TableField(value = "dictionary_job_type")
    private Long dictionaryJobType;

    @Schema(title = "工作年限", description = "")
    @TableField(value = "job_year")
    private Date year;

    @Schema(title = "工作时间", description = "")
    @TableField(value = "job_time")
    private Date time;
}

